package com.test.ws.s1.mapper;

import com.test.ws.s1.bean.Acl_role;
import com.test.ws.s1.bean.Acl_user_role;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

public interface Acl_roleDao {
    /// 查询
    ArrayList<Acl_role> selectAcl_role(@Param("aclRole") Acl_role aclRole,
                                       @Param("userId") Integer userId);

    /// 查全部
    ArrayList<Acl_role> selectAllAcl_role();

    /// 删除
    int deleteAcl_role(Acl_user_role aclRole);

    /// 增加用户权限
    int insertAcl_role(Acl_user_role aclRole);
}
